<?php
# MODUL HABERLER
# 08/10/2012
# Kemal GENİŞ
# kemal@istesite.com

define('_MODULE_NAME','news');
//-> Gerekli klasörler kontrolü başlar
if(!is_dir('../pictures/'._MODULE_NAME.'/bigs'))
{
	if(!is_dir('../pictures'))
	{
		mkdir('../pictures');
	}

	if(!is_dir('../pictures/'._MODULE_NAME))
	{
		mkdir('../pictures/'._MODULE_NAME);
	}

	if(!is_dir('../pictures/'._MODULE_NAME.'/bigs'))
	{
		mkdir('../pictures/'._MODULE_NAME.'/bigs');
	}

	if(!is_dir('../pictures/'._MODULE_NAME.'/thumbs'))
	{
		mkdir('../pictures/'._MODULE_NAME.'/thumbs');
	}
}
//-> Gerekli klasörler kontrolü biter